package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "MaintenanceRecordVO", description = "保养记录列表")
public class MaintenanceRecordVO {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "厂区（数字对应相应厂区）")
    private String factoryPeriod;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "物料名称")
    private String materielName;

    @ApiModelProperty(value = "工艺单元名称")
    private String processunitName;

    @ApiModelProperty(value = "保养/维修方式（保养/维修方式（紧固、清洁、标定、清洗、润滑、其他 /小修、中修、大修、其他 ）多个逗号分隔 ） 英文逗号分隔")
    private String maintenanceType;

    @ApiModelProperty(value = "保养描述/维修描述")
    private String maintenanceDesc;

    @ApiModelProperty(value = "维保人")
    private String maintenanceBy;

    @ApiModelProperty(value = "维保完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date completeTime;

    @ApiModelProperty(value = "实际费用")
    private Double actualCost;
}